package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {

    void addDish(DishDTO dishDTO);

    PageResult selectPage(DishPageQueryDTO dishPageQueryDTO);

    void deleteBatch(List<Long> ids);

    DishVO selectById(Long id);

    List<Dish> selectByCategoryId(Long categoryId);

    void updateDish(DishDTO dishDTO);

    void setStartOrStop(Long id, Integer status);

    List<DishVO> selectDishVoListConditionBy(Long categoryId, Integer enable);
}
